import { createLazyFileRoute, Outlet } from "@tanstack/react-router";
import Sidebar from "@/components/sidebar";
import Headline from "@/components/headline";

export const Route = createLazyFileRoute("/dashboard")({
  component: Dashboard,
});

function Dashboard() {
  return (
    <>
      <main className="w-lvw h-lvh bg-[#fae3d9] flex">
        <Sidebar />
        <div className="flex-1 p-6">
          <Headline />
          <Outlet />
        </div>
      </main>
    </>
  );
}
